﻿#ifndef TESTTHREAD2_H
#define TESTTHREAD2_H

#include <QThread>
#include <QObject>

class TestThread2 : public QThread
{
    Q_OBJECT
public:
    TestThread2(QObject *parent = nullptr);
protected:
    void run(); // 线程函数
signals:
    void TestSignal(int);
public slots:
    void ResetSlot();
private:
    int number;

};

#endif // TESTTHREAD2_H
